(not xemacsp)
'reload))
-(defvar ispell-library-path (unless (boundp 'byte-compile-current-file)
- (check-ispell-version))
+(defvar ispell-library-path (if (or (not (fboundp 'byte-compiling-files-p))
+ (not (byte-compiling-files-p)))
+ (check-ispell-version))
"The directory where ispell dictionaries reside.")
(defvar ispell-process nil
;;;###autoload
(if (and ispell-menu-map-needed
- (not (boundp 'byte-compile-current-file)))
+ (or (not (fboundp 'byte-compiling-files-p))
+ (not (byte-compiling-files-p))))
(let ((dicts (reverse (cons (cons "default" nil) ispell-dictionary-alist)))
;; `ispell-library-path' intentionally not defined in autoload
(path (and (boundp 'ispell-library-path) ispell-library-path))
;;; define commands in menu in opposite order you want them to appear.
;;;###autoload
(if (and ispell-menu-map-needed
- (not (boundp 'byte-compile-current-file)))
+ (or (not (fboundp 'byte-compiling-files-p))
+ (not (byte-compiling-files-p))))
(progn
(define-key ispell-menu-map [ispell-change-dictionary]
'(menu-item "Change Dictionary..." ispell-change-dictionary
;;;###autoload
(if (and ispell-menu-map-needed
- (not (boundp 'byte-compile-current-file)))
+ (or (not (fboundp 'byte-compiling-files-p))
+ (not (byte-compiling-files-p))))
(progn
(define-key ispell-menu-map [ispell-continue]
'(menu-item "Continue Spell-Checking" ispell-continue
;;;###autoload
(if (and ispell-menu-map-needed
- (not (boundp 'byte-compile-current-file)))
+ (or (not (fboundp 'byte-compiling-files-p))
+ (not (byte-compiling-files-p))))
(progn
(define-key ispell-menu-map [ispell-region]
'(menu-item "Spell-Check Region" ispell-region